package cn.wolfcode.education.service;

import cn.wolfcode.education.domain.NetDisk;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface INetDiskService {

    //更改
    void update(NetDisk netDisk);

    //查询一条数据
    NetDisk selectByPrimaryKey(Long id);

    //查询所有目录
    List<NetDisk> queryAllParent();

    //文件上传
    void upload(MultipartFile fileImport, String basePath,Long parentId,String file);

    //删除文件
    void delete(Long id);

    void save(String fileName,Long id);
}
